<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<title>门店分值-门店管理-{$site.BACK_NAME}</title>
<include file="Public:jscss"/>
<script language="javascript" type="text/javascript" src="__PUBLIC__/js/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
<div class="wrap">
 <include file="Public:head"/>
 <div class="mainBody">
  <include file="Public:left"/>
  <div id="Right">
   <div class="Item hr">
    <div class="current">门店分值</div> &gt;&gt; <div class="current">{$store.name}</div>
   </div>
   <form action="" method="post" id="quickForm">
    <b>快速修改：</b>
	MSP值:
    <input type="text" name="msp" id="msp" class="input" value="{$assess.msp}" style="width:40px;" />
	RDM值:
    <input type="text" name="rdm" id="rdm" class="input" value="{$assess.rdm}" style="width:40px;" />
	SN绑定:
    <input type="text" name="snb" id="snb" class="input" value="{$assess.snb}" style="width:40px;" />
	资源使用率:
    <input type="text" name="hlp" id="hlp" class="input" value="{$assess.hlp}" style="width:40px;" />
	分享值:
    <input type="text" name="sre" id="sre" class="input" value="{$assess.sre}" style="width:40px;" />
	考核值:
    <input type="text" name="ass" id="ass" class="input" value="{$assess.ass}" style="width:40px;" />
	综合得分:
    <input type="text" name="cps" id="cps" class="input" value="{$assess.cps}" style="width:40px;"/>
	- 时间
	<input type="text" name="add_time" class="input Wdate" value="{$add_time}" onFocus="WdatePicker({startDate:'{$add_time}'})" style="width:180px;"/>
	<input type="hidden" name="store_id" value="{$store.id}" />
	<input type="submit" class="btn cfz_submit" value='修改'/>
   </form>
   <div class="Item hr">
    <div class="current">最新10条修改记录</div>
   </div>
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
    <thead>
     <tr>
      <td width="10%">序号</td>
      <td width="20%">时间</td>
	  <td width="10%">MSP值</td>
      <td width="10%">RDM值</td>
      <td width="10%">SN绑定</td>
	  <td width="10%">资源使用率</td>
	  <td width="10%">分享值</td>
	  <td width="10%">考核值</td>
      <td width="10%">综合得分</td>
     </tr>
    </thead>
    <volist name="list" id="vo">
    <tr align="center" id="tr_{$vo.id}">
     <td align="left">{$i}</td>
	 <td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
	 <td align="left">{$vo.msp}</td>
     <td align="left">{$vo.rdm}</td>
	 <td align="left">{$vo.snb}</td>
	 <td align="left">{$vo.hlp}</td>
	 <td align="left">{$vo.sre}</td>
     <td align="left">{$vo.ass}</td>
     <td align="left">{$vo.cps}</td>
    </tr>
    </volist>
   </table>
   <div class="Item hr">
    <div class="current">历史分值</div>
   </div>
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
    <thead>
     <tr>
      <td width="10%">序号</td>
      <td width="20%">时间</td>
	  <td width="10%">MSP值</td>
      <td width="10%">RDM值</td>
      <td width="10%">SN绑定</td>
	  <td width="10%">资源使用率</td>
	  <td width="10%">分享值</td>
	  <td width="10%">考核值</td>
      <td width="10%">综合得分</td>
     </tr>
    </thead>
    <volist name="history" id="vo">
    <tr align="center" id="tr_{$vo.id}">
     <td align="left">{$i}</td>
	 <td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
	 <td align="left">{$vo.msp}</td>
     <td align="left">{$vo.rdm}</td>
	 <td align="left">{$vo.snb}</td>
	 <td align="left">{$vo.hlp}</td>
	 <td align="left">{$vo.sre}</td>
     <td align="left">{$vo.ass}</td>
     <td align="left">{$vo.cps}</td>
    </tr>
    </volist>
   </table>
  </div>
 </div>
</div>
<div class="clear"></div>
<include file="Public:foot"/>
</body>
<script type="text/javascript">
$(function(){
	$(".cfz_submit").click(function(){
		if($("#msp").val()==''){
			$.jBox.tip('MSP值不能为空', 'info');
			return false;
		}
		if($("#rdm").val()==''){
			$.jBox.tip('RDM值不能为空', 'info');
			return false;
		}
		if($("#snb").val()==''){
			$.jBox.tip('SN绑定不能为空', 'info');
			return false;
		}
		if($("#hlp").val()==''){
			$.jBox.tip('资源使用率不能为空', 'info');
			return false;
		}
		if($("#sre").val()==''){
			$.jBox.tip('分享值不能为空', 'info');
			return false;
		}
		if($("#ass").val()==''){
			$.jBox.tip('考核值不能为空', 'info');
			return false;
		}
		if($("#cps").val()==''){
			$.jBox.tip('综合得分不能为空', 'info');
			return false;
		}
		commonAjaxSubmit();
		return false;
	});
});
</script>
</html>